# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=wbg
pkgver=1.1.0
pkgrel=0
pkgdesc="Simple wallpaper application for Wayland compositors"
url="https://codeberg.org/dnkl/wbg"
arch="all"
license="MIT"
makedepends="meson
	libjpeg-turbo-dev
	libpng-dev
	pixman-dev
	tllist-dev
	wayland-dev
	wayland-protocols
	"
options="!check" # no test suite
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/wbg/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
78384b85074cb1803b47ec16e843c5de4b17a824a3826398902d18dcdd50d5b678cad8eba599e6e17a8ab60f795993c0f2bf2a4fa275f2a90effdfc0d1685175  wbg-1.1.0.tar.gz
"
